package com.cloud.report.api.entity;

import javax.persistence.*;

@Table(name = "report_query")
public class ReportQuery {
    @Id
    @Column(name = "query_id")
    private Long queryId;

    @Column(name = "dataview_id")
    private Long dataviewId;

    @Column(name = "query_group_id")
    private Integer queryGroupId;

    @Column(name = "query_name")
    private String queryName;

    /**
     * @return query_id
     */
    public Long getQueryId() {
        return queryId;
    }

    /**
     * @param queryId
     */
    public void setQueryId(Long queryId) {
        this.queryId = queryId;
    }

    /**
     * @return dataview_id
     */
    public Long getDataviewId() {
        return dataviewId;
    }

    /**
     * @param dataviewId
     */
    public void setDataviewId(Long dataviewId) {
        this.dataviewId = dataviewId;
    }

    /**
     * @return query_group_id
     */
    public Integer getQueryGroupId() {
        return queryGroupId;
    }

    /**
     * @param queryGroupId
     */
    public void setQueryGroupId(Integer queryGroupId) {
        this.queryGroupId = queryGroupId;
    }

    /**
     * @return query_name
     */
    public String getQueryName() {
        return queryName;
    }

    /**
     * @param queryName
     */
    public void setQueryName(String queryName) {
        this.queryName = queryName;
    }
}